<?php
App::uses('AppModel', 'Model');
/**
 * TurmaMatricula Model
 *
 * @property Matricula $Matricula
 * @property Turma $Turma
 */
class TurmaMatricula extends AppModel {
    
    public $actsAs = array('Containable');


	//The Associations below have been created with all possible keys, those that are not needed can be removed

/**
 * belongsTo associations
 *
 * @var array
 */
	public $belongsTo = array(
		'Matricula' => array(
			'className' => 'Matricula',
			'foreignKey' => 'matricula_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Turma' => array(
			'className' => 'Turma',
			'foreignKey' => 'turma_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
        
        public $hasMany = array(
		'DisciplinaTurmaMatricula' => array(
			'className' => 'DisciplinaTurmaMatricula',
			'foreignKey' => 'turma_matricula_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);
}
